<?php
/* @var $this ChuyennganhController */
/* @var $model Chuyennganh */

$this->breadcrumbs=array(
	'Chuyennganhs'=>array('index'),
	'Manage',
);

$this->menu=array(
	array('label'=>'List Chuyennganh', 'url'=>array('index')),
	array('label'=>'Create Chuyennganh', 'url'=>array('create')),
);

Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
	$('.search-form').toggle();
	return false;
});
$('.search-form form').submit(function(){
	$('#chuyennganh-grid').yiiGridView('update', {
		data: $(this).serialize()
	});
	return false;
});
");
?>

<div class="body-cont">
  <div class="col-9 row">
        <div class="mod">
        <div class="mod-bread"><a href="#">Trang chủ </a> > <a href="#">Admin</a> > <a href="#">Quản lý chuyên ngành</a></div>
        <div class="pro-tit line-dot">
            	<h1> Quản lý chuyên ngành
                    <b class="social-top">
                    </b>   
                </h1>
            </div>

 <div class="form" style="padding-left: 10px; padding-right: 20px;">
                    <p>
                    You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
                    or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
                    </p>
                    
                    <?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
                    <div class="search-form" style="display:none">
                    <?php $this->renderPartial('_search',array(
                    	'model'=>$model,
                    )); ?>
                    </div><!-- search-form -->
                    
                    <?php $this->widget('zii.widgets.grid.CGridView', array(
                    	'id'=>'chuyennganh-grid',
                    	'dataProvider'=>$model->search(),
                    	'filter'=>$model,
                    	'columns'=>array(
                    		'id',
                    		'nganhhoc_id',
                    		'chuyennganh_ma',
                    		'chuyennganh_ten',
                    		'create_time',
                    		'update_time',
                    		array(
                    			'class'=>'CButtonColumn',
                    		),
                    	),
                    )); ?>
</div>
</div>
  </div>
</div>